Post

Replies

Boosts

Views

Activity

How to make UIAlertController modal in iOS 9.3?
How to make UIAlertController modal in iOS 9.3? The dialog box comes up, looks right and works correctly, but the app doesn't wait for an answer. I'm using #present(_,animated:,completion:) to bring it up. Even the completion block runs before the user can do anything. There is some API from versions long after 9.3 that might help if I was targeting later versions, but I'm not. I have read a bunch of articles on the net: they all say this easy, and it is easy, but it isn't modal.
3
0
1.5k
Apr ’20
App compiled for 9.3.5 crashes on older iPad
I have a newer iPad and an older iPad2. My app is written in Swift and compiled for 9.3.5, which is the OS installed on the older iPad2. ***My app runs fine in the simulator and on the newer iPad.*** On the older iPad2, a lot of mundane things work in the app, but it crashes with errors that are only semi-repeatable when I ask it to do its real work. The problem seems to have something to do with an object being garbage collected before it should be, but I am not sure that is really the problem, as the debugger sometimes gives other death messages that are completely different. Any ideas on this?
4
0
989
Mar ’20
iOS hardware keyboard input always uppercase
I am using UITextFieldDelegate.textField(_,shouldChangeCharactersin,replacementString) in my ViewController. I receive the correct input from my app's software keyboard. But the hardware keyboards on my iPad and my simulator both deliver uppercase characters only to my app. This won't do. Yes, I have checked the keyboards' CapsLock state. Suggestions?
1
0
1.8k
Jan ’20